package com.zan.zanchat.common.common.constant;

/**
 * @Author Zan
 * @Create 2024/3/11 13:34
 * @Description :
 */
public class RedisKey {

    private static final String BASE_KEY = "zanchat:chat";

    /**
     * 用户token的key
     */
    public static final String USER_TOKEN_STRING = "userToken:uid_%d";

    public static String getKey(String key, Object... o) {
        return String.format(key, o);
    }

}
